#include "CEUiPale.h"

#if (CC_TARGET_PLATFORM == CC_PLATFORM_WIN32) 
void CEUiPale::draw()
{
	CCPoint vertices[4]={
		ccp(0.0f,getContentSize().height),
		ccp(0.0f,0.0f),
		ccp(getContentSize().width,0.0f),
		ccp(getContentSize().width,getContentSize().height),
	};
	ccDrawColor4F( 1.0f, 0.0f, 0.0f, 1.0f );
	ccDrawPoly(vertices, 4, true);
	ccDrawColor4F( 1.0f, 1.0f, 1.0f, 1.0f );
}
#endif

CEUiPale* CEUiPale::create()
{
	CEUiPale* pPale = new CEUiPale;
	if ( pPale )
		pPale->autorelease();

	return pPale;
}